home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / INFO / DOS32V4.ZIP / DOS32PAT.TXT < prev    next >
Text File  |  1986-05-17  |  5KB  |  164 lines

  1.  
  2.  *********************************************************************
  3.  *  WARNING -> Always use a backup when patching any program !       *
  4.  *  These patches are for IBM PC-DOS 3.2 only !!!                    *
  5.  *********************************************************************
  6.  
  7.      5/3/86
  8.  
  9. I have converted the 2 patches I used in DOS 3.1 to work with
  10. DOS 3.2.
  11.  
  12. The first patch will change the default enviroment space to
  13. be about 1K in size. For an enviroment of 512bytes use 1E instead
  14. of 3C for the first Edit in debug.
  15.  
  16. The second patch will change the default ECHO to OFF.
  17.  
  18. Both patches are included in the file DOS32PAT.PAT.
  19.  
  20. To use this file you can just enter the following commands :
  21.    COPY COMMAND.COM OLDCMD.COM
  22.    DEBUG COMMAND.COM <DOS32PAT.PAT
  23.    <CTRL-ALT-DEL>   (reboot DOS)
  24. The above assumes that the patch file is on the same drive as
  25. command.com and that both are on the default drive. Add drive
  26. and path specifiers as needed.
  27.  
  28. Alternatively you can follow the patch sequence by hand as outlined
  29. in the file DOS32PAT.LOG. This file was created by using DOS32PAT.PAT
  30. as above but redirecting the output to a file instead of letting
  31. it come to the screen.
  32. This file was then editted to indicate what is to be typed by the
  33. user. Use of [A] means to type the character A. {CR} is used to
  34. indicate the use of the carriage return key.
  35.  
  36. These patches were converted from the patches for DOS 3.1 by
  37. Compuserve IBMSIG. Bob Morse gave the enviroment patch for
  38. DOS 3.1 and Ted Eyrick gave the ECHO OFF default patch for DOS 3.1.
  39.  
  40. If you have any questions or problems with these patches I can be
  41. reached on Gene Plantz's BBS at (312) 882-4227 .
  42.  
  43.     Rick Eversole   [ID1864]
  44.  
  45. Thanks to those who have preceeded me.
  46. By popular demand the patches that were in the file DOS32PAT.PAT
  47. have been separated into 2 separate files:
  48. DOS32P1.PAT will allow you to ONLY change the default
  49. enviroment.
  50. DOS32P2.PAT will allow you to ONLY change the default for echo to
  51.   ECHO OFF. Note that with this patch you will still have to
  52.   use ECHO OFF in the first line of your AUTOEXEC.BAT file
  53.   as DOS will still use ECHO ON dispite this patch for the
  54.   AUTOEXEC.BAT file during boot only.
  55.  
  56.      Rick Eversole   5/4/86
  57. ======================== version 3 ========================
  58.  
  59.  SCREEN Scrolling
  60.   Ward Christensen's patches for DOS 3.1 version of ANSI.SYS
  61. to disable wait for retrace and screen blanking works for
  62. DOS 3.2.  Using DEBUG proceed as follows:
  63.  DEBUG ANSI.SYS
  64.  -E 02E3 {CR}
  65.  xxxx:02E3    74.90    FB.90{CR}
  66.  -E 02EA{CR}
  67.  xxxx:02EA    EE.90{CR}
  68.  -W{CR}
  69.  -Q{CR}
  70.  
  71.  Alternatively the file DOS32P3.PAT can be redirected as 
  72.  input to DEBUG as follows :
  73.  DEBUG ANSI.SYS <DOS32P3.PAT
  74.  
  75. ==============
  76.  
  77.  Disable EDLIN automatic .BAK file creation
  78.  
  79.   This patch will cause EDLIN to not create a .BAK file
  80.  when using EDLIN. This patch is not recommended but is
  81.  included here because it was in the group of patches for
  82.  DOS 3.1 from which most of the patches in this set were
  83.  derived.
  84.  
  85.  DEBUG EDLIN.COM
  86.  -E 0CD5{CR}
  87.  xxxx:0CD5    56.41{CR}
  88.  -W{CR}
  89.  -Q{CR}
  90.  
  91.  Alternatively :
  92.  
  93.  DEBUG EDLIN.COM <DOS32P4.PAT
  94.  
  95.  For your information this patch changes the EDLIN process of
  96.  renaming your orignal file to .BAK . The code in EDLIN in the
  97.  patch area is :
  98.  
  99.    MOV AH,56      ; RENAME FILE using DOS INT 21 function 56
  100.    INT 21         ;
  101.  The patch changes the function 56 (RENAME file) to the
  102.  function 41 (UNLINK file) .
  103.  
  104. ==========
  105.  
  106.  Automatic instalation of printer for DOS PRINT .
  107.  
  108.  This patch causes the DOS PRINT command to automatically
  109.  select your desired default printer port.
  110.  
  111.  DEBUG PRINT.COM
  112.  -E 190D{CR}
  113.  xxxx:190D    E8.90    CB.90    02.90{CR}
  114.  -E 191F{CR}
  115.  xxxx:191F    CD.90    21.90{CR}
  116.  -W{CR}
  117.  -Q{CR}
  118.  
  119. If the printer port is LPT2 then the following address must also
  120. be modified as follows :
  121.  
  122. -E 11C2 4 "LPT2"{CR}
  123.  
  124. Alternatively for LPT1 use
  125.  DEBUG PRINT.COM <DOS32P5A.PAT
  126.  
  127. For LPT2 use :
  128.  DEBUG PRINT.COM <DOS32P5B.PAT
  129.  
  130. ==========
  131.  
  132.  Disable automatic header in FIND.EXE output
  133.  
  134.  The find program puts an automatic header --------- filename
  135. in the output listing. To disable this header, patch FIND.EXE
  136. as follows :
  137.  
  138.  RENAME FIND.EXE FIND.TMP
  139.  DEBUG FIND.TMP
  140.  -E 426{CR}
  141.  xxxx:0426    3.2C{CR}
  142.  -W{CR}
  143.  -Q{CR}
  144.  RENAME FIND.TMP FIND.EXE
  145.  
  146.  
  147.  Alternatively :
  148.  
  149.  RENAME FIND.EXE FIND.TMP
  150.  DEBUG FIND.TMP <DOS32P6.PAT
  151.  RENAME FIND.TMP FIND.EXE
  152.  
  153.   5/10/86   Rick Eversole [ID1864]
  154. ==================== Version 4 =============================
  155.  Thanks to Glenn Rose and PC Magazine I have corrected
  156.  DOS32P2.PAT to make ECHO OFF the default for ALL .BAT files.
  157.  The additional patch is :
  158.     E 115E 2
  159.  This addition has been made to the DOS32P2.PAT and DOS32PAT.PAT
  160.  files.
  161.  
  162.    5/17/86   Rick Eversole [ID1864]
  163. ===========================================================
  164.